package base.Day05;

import java.util.Arrays;

public class ArrayDemo05
{
    public static void main(String[] args)
    {
        int x = 1;
        System.out.println((x > 4 ? 99.9:9));
        int[] b = new int[]{1,3,4,1,3,4,5,6,78,9,0,1};
        int[] c = Arrays.copyOf(b,11);
        for (int i: c)
        {
            System.out.println(i);
        }
        System.out.println("-==------------------------------------");
        ArrayDemo05 arrayDemo05 = new ArrayDemo05();
        arrayDemo05.test();
    }
    void test()
    {
        int[] arr = new int[]{1,3,3};
        arr = Arrays.copyOf(arr,arr.length+1);
        for (int i: arr)
        {
            System.out.println(i);
        }
    }
}
